package logic;

import java.util.ArrayList;

public class cell {
	private ArrayList<Integer> possilbeValues = new ArrayList<Integer>();
	private int currentValue;
	private ArrayList<Constraint> constraints = new ArrayList<Constraint>();
	
	public static final int BLANK = 99999;
	
	
	public cell(ArrayList<Integer> possibleValues)
	{
		this.possilbeValues = possibleValues;
		currentValue = BLANK;
		this.constraints = new ArrayList<Constraint>();
	}
	
	public int getCurrentValue()
	{
		return this.currentValue;
	}
	
	public void setCurrentValue(int value)
	{
		this.currentValue = value;
	}

	public ArrayList<Integer> getPossilbeValues() {
		return possilbeValues;
	}
	
	public void addPossibleValue(int value)
	{
		this.possilbeValues.add(value);
	}
	
	public void setPossiblevalues(ArrayList<Integer> list)
	{
		this.possilbeValues = list;
	}

	public ArrayList<Constraint> getConstraints() {
		return constraints;
	}

	public void addConstraint(Constraint constraint) {
		this.constraints.add(constraint);
	}

}
